﻿using System.Web.Mvc;

namespace Kunlun.Areas.Recommend
    {
    public class RecommendAreaRegistration : AreaRegistration
        {
        public override string AreaName
            {
            get
                {
                return "Recommend";
                }
            }

        public override void RegisterArea(AreaRegistrationContext context)
            {
            context.MapRoute(
                "Recommend_default",
                "Recommend/{id}",
                new {controller = "Index", action = "Index", id = UrlParameter.Optional },

                new string[] { "Kunlun.Areas.Recommend.Controllers" }
            );
            }
        }
    }
